package com.punai.dataclean.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.punai.dataclean.domain.CostDataClean;
import com.punai.dataclean.domain.vo.CostDataCleanVo;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;
import java.util.Set;

public interface CostDataCleanMapper extends BaseMapper<CostDataClean> {
    List<CostDataCleanVo> selectAllGroupTableData(@Param("costDataCleanVo") CostDataCleanVo vo,
                                                  @Param("feeCodes") Collection<String> feeCodes,
                                                  @Param("priceTypes") Collection<String> priceTypes);

    List<CostDataCleanVo> selectDetailTableData(@Param("costDataCleanVo") CostDataCleanVo vo,
                                                @Param("priceTypes") Collection<String> priceTypes);

    Integer countAllGroupTableData(@Param("costDataCleanVo") CostDataCleanVo vo,
                               @Param("feeCodes") Collection<String> feeCodes,
                               @Param("priceTypes") Collection<String> priceTypes);
}
